class MediatorComment {
    /**
     * 评价ID
     */
    commentId: number | null = null;

    /**
     * 案件id
     */
    caseId: number | null = null;

    /**
     * 调解员id
     */
    mediatorId: number | null = null;

    /**
     * 对调解员的能力评价
     */
    comment: string | null = null;

    /**
     * 评价等级 分为五级 1 2 3 4 5  五星+4分 4星+3   3星 +0    2星 -2  1星  -3 调解员积分
     */
    starRate: number | null = null;

    /**
     * 创建时间
     */
    createdTime: string | null = null;

    /**
     * 用户ID
     */
    userId: number | null = null;

    constructor(commentId?: number, caseId?: number, mediatorId?: number,
                comment?: string, starRate?: number, createdTime?: string, useId?: number) {
        this.commentId = commentId ?? null;
        this.caseId = caseId ?? null;
        this.mediatorId = mediatorId ?? null;
        this.comment = comment ?? null;
        this.starRate = starRate ?? null;
        this.createdTime = createdTime ?? null;
        this.userId = useId ?? null;
    }
}

export default MediatorComment;